package cn.iocoder.yudao.module.of.controller.admin.taskapprovals.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 任务审批(下发) Response VO")
@Data
@ExcelIgnoreUnannotated
public class TaskApprovalRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "11529")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23811")
    @ExcelProperty("任务编号")
    private Long taskId;

    @Schema(description = "任务的审批状态：1待审批、2审批通过、3审批不通过", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("任务的审批状态：1待审批、2审批通过、3审批不通过")
    private Integer approvalStatus;

    @Schema(description = "审批人id", example = "18547")
    @ExcelProperty("审批人id")
    private Long approvalUserId;

    @Schema(description = "审批意见")
    @ExcelProperty("审批意见")
    private String approvalOpinion;

}